Fired when a item either gets added to the shopping cart or the checkout
process is completed
Event ID: shoppingCart
- ADDED_TO_CART - Fired when a item is added to the cart
- CHECKOUT_COMPLETE - Fired when the checkout process has completed successfully
- PAYMENT_PENDING - Fired when a checkout has been submitted but payment is pending to complete the process
Properties
| Name | Returns | Notes | Example |
|---|---|---|---|
| cart | Cart | Returns the Cart instance that generated this event. | |
| action | ShoppingCartAction | Returns the sub-type of this shopping cart event. "ADDED_TO_CART", "CHECKOUT_COMPLETE" or "PAYMENT_PENDING". | |
| profile | Profile | Returns the Profile of user who generated this event. This profile can also be found in the attributes. | |
| eventId | String | Returns the event ID. | |
| website | Website | ||
| sourceProfile | Profile | ||
| emailAttachments | List | ||
| triggerItem1 | String | The ID of the website the event was fired from | |
| triggerItem2 | String | The shopping cart action | |
| triggerItem3 | String | Not used. | |
| triggerItem4 | String | Not used. | |
| triggerItem5 | String | Not used. | |
| attributes | Map |
Contains a map of event attributes as key/value pairs. The values may be
complex objects. For this type of event they are:
|
|
| branch | Branch | Not used. | |
| category | String | ||
| message | String | ||
| path | String | ||
| user | Profile | ||
| repo | Repository | Not used. | |
| title | String | ||
| itemType | String | ||
| data | Map | Not used. |
Hide comments